#ifndef RENDER_SHADER_H
#define RENDER_SHADER_H

#include <QtOpenGL/QGLShaderProgram>
#include <core/object.h>

namespace yam3d
{
namespace render
{
    class Shader : public QGLShader, public core::Object
    {
    public:
        Shader(QGLShader::ShaderType type)
        : QGLShader(type)
        , core::Object(__FUNCTION__)
        {
        }

        virtual ~Shader()
        {
        }
    };

    class ShaderProgram : public QGLShaderProgram, public core::Object
    {
    public:
        ShaderProgram()
        : QGLShaderProgram(), core::Object(__FUNCTION__)
        {
        }

        virtual ~ShaderProgram()
        {
        }
    };

}
}
#endif // SHADER_H
